package edu.sysu.emf.extendedEcore.CodeGen;

public class GeneratorFactory {
	
	public static AbstractGenerator factory(String type) throws Exception{
		if(type.equalsIgnoreCase("jmx")){
			return JmxGenerator.getInstance();
		}else{
			throw new Exception("Bad type");
		} 
	}
}
